import Vue from 'vue/dist/vue.esm'
import VueCodemirror from 'vue-codemirror'


import 'codemirror/mode/javascript/javascript.js'
import 'codemirror/mode/xml/xml.js'
import 'codemirror/mode/htmlmixed/htmlmixed.js'
import 'codemirror/mode/css/css.js'
import 'codemirror/mode/sass/sass.js'
// import base style
import 'codemirror/lib/codemirror.css'

// import more codemirror resource...

// import theme style
import 'codemirror/theme/material.css'



// you can set default global options and events when Vue.use
Vue.use(VueCodemirror, /* {
  options: { theme: 'base16-dark', ... },
  events: ['scroll', ...]
} */)
